

package top.lidee.repository.model.twice.vo.applet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 微信小程序登录参数
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "AppWx对象", description = "微信小程序登录参数")
public class AppWxLoginVo implements Serializable {
    private static final long serialVersionUID = 1L;


    @NotEmpty(message = "code不能为空")
    @ApiModelProperty("code")
    private String code;

    /**
     * 名称
     */
    @ApiModelProperty("nickname")
    private String nickname;

    /**
     * 头像
     */
    @ApiModelProperty("avatar")
    private String avatar;

}
